package com.elong.android.specialhouse.db;

public interface DB {
	public final static String DATABASE_NAME = "elong.db";

	public final static int VERSION = 2;

	public final static String TABLE_CITY_DISTRICTS = "city_districts";
	public final static String TABLE_MESSAGE = "message";

	public final static String COL_CITY = "city";
	public final static String COL_LASTMODIFIED = "last_modified";
	// public final static String COL_DISTRICTS = "districts";
	// public final static String COL_COMMERCIALAREA = "commercial_areas";
	public final static String COL_DATA = "data";

	public final static int COLINDEX_CITY = 1;
	public final static int COLINDEX_LASTMODIFIED = 2;
	// public final static int COLINDEX_DISTRICT = 3;
	// public final static int COLINDEX_COMMERCIALAREA = 4;
	public final static int COLINDEX_DATA = 3;

	public final static int DB_STATUS_RUNNING = 0X12;
	public final static int DB_STATUS_SUSSEC = 0X13;
	public final static int DB_STATUS_ERROR = 0X14;

	public final static int DB_MESSAGE_INSERT = 0X20;
	public final static int DB_MESSAGE_INSERTLIST = 0X21;
	public final static int DB_MESSAGE_UPDATE_MESSAGE_BY_TYPE = 0X22;
	public final static int DB_MESSAGE_UPDATE_MESSAGELIST_BY_TYPE = 0X23;
	public final static int DB_MESSAGE_GET_ALLMESSAGE = 0X24;
	public final static int DB_MESSAGE_GET_ALLMESSAGE_BY_TYPE = 0X25;

}
